package entity;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @author Rain
 * @Description :
 * @date 2022/08/18 17:15
 */
public class DIBean {
    private double money;
    private String[] messages;
    private boolean isActive;
    private Wife wife;
    private List<String> warnings;
    private List<Wife> lovers;
    private Map<String, String> history;

    public DIBean(double money, String[] messages, boolean isActive, Wife wife, List<String> warnings, List<Wife> lovers, Map<String, String> history) {
        this.money = money;
        this.messages = messages;
        this.isActive = isActive;
        this.wife = wife;
        this.warnings = warnings;
        this.lovers = lovers;
        this.history = history;
    }

    public DIBean() {
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("DIBean{");
        sb.append("money=").append(money);
        sb.append(", messages=").append(Arrays.toString(messages));
        sb.append(", isActive=").append(isActive);
        sb.append(", wife=").append(wife);
        sb.append(", warnings=").append(warnings);
        sb.append(", wifes=").append(lovers);
        sb.append(", history=").append(history);
        sb.append('}');
        return sb.toString();
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String[] getMessages() {
        return messages;
    }

    public void setMessages(String[] messages) {
        this.messages = messages;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean active) {
        isActive = active;
    }

    public Wife getWife() {
        return wife;
    }

    public void setWife(Wife wife) {
        this.wife = wife;
    }

    public List<String> getWarnings() {
        return warnings;
    }

    public void setWarnings(List<String> warnings) {
        this.warnings = warnings;
    }

    public List<Wife> getLovers() {
        return lovers;
    }

    public void setLovers(List<Wife> lovers) {
        this.lovers = lovers;
    }

    public Map<String, String> getHistory() {
        return history;
    }

    public void setHistory(Map<String, String> history) {
        this.history = history;
    }
}
